/**
 * caicongyang.com Inc.
 * Copyright (c) 2004-2017 All Rights Reserved.
 */
package com.caicongyang.design.factory;

/**
 *
 *
 * @author caicongyang1
 * @version id: Operation, v 0.1 17/5/4 下午7:46 caicongyang1 Exp $$
 */
public abstract  class Operation {

    private double numberA = 0;
    private double numberB = 0;

    public double getNumberA() {
        return numberA;
    }

    public void setNumberA(double numberA) {
        this.numberA = numberA;
    }

    public double getNumberB() {
        return numberB;
    }


    public abstract double getResult();

    public void setNumberB(double numberB) {
        this.numberB = numberB;
    }
}
